package design_pattern.adapter.demo02;

import lombok.Data;

/**
 * @version 1.0.0
 * Created by cyd on 2022-06-06 10:32:55
 * @ClassName : design_pattern.adapter.demo02.Player
 * @Description : 类描述
 */
@Data
public abstract class Player {

    String name;

    public Player(String name) {
        this.name = name;
    }


    public abstract void attack();

    public abstract void defence();
}
